#ifndef TPLEXPRESSION_H
#define TPLEXPRESSION_H

#include <QObject>
#include <QVariant>
#include <QMap>
#include <QDebug>

class TplExpression : public QObject {
    Q_OBJECT
public:
    TplExpression(const TplExpression &other);
    explicit TplExpression(QObject *parent = 0);
    virtual ~TplExpression();
signals:

public slots:
    virtual QVariant evaluate(bool *ok);
    virtual void setContext(QMap<QString, QVariant> *context);

protected:
    QMap<QString, QVariant> *context;
};


#endif // TPLEXPRESSION_H
